<?php
/**
 * OrderGoods
 * Created by Veyron
 * motto:现在的拼搏 为了更好的明天
 * day:  2020/1/21
 * Time: 17:14
 */

namespace app\common\business;
use app\common\model\mysql\OrderGoods as OrderGoodsModel;

class OrderGoods extends BusBase
{
    public $model = null;
    public function __construct()
    {
        $this->model = new OrderGoodsModel();
    }

    public function saveAll($data){
        try {
            $result = $this->model->saveAll($data);
            return $result->toArray();
        }catch (\Exception $e){
            return false;
        }

    }
}
